package com.sky.mapper;


import com.sky.dto.GoodsSalesDTO;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;


@Mapper
public interface ReportMapper {
/*
* 数据封装
* */

    Double sumBymap(Map map);
    /*
    * 统计订单数量
    * */
    Integer countBymap(Map map);
/*
* 销量前十
* */
    List<GoodsSalesDTO> getSalesTop10(LocalDateTime beginTime, LocalDateTime endTime);
}
